#include "abstract_factory.h"

int main(){
    std::unique_ptr<AbstractFactory> factory = std::make_unique<WindowsUIFactory>();
    auto button = factory->CreateButton();
    auto textbox = factory->CreateTextBox();
    button->render();
    textbox->render();

    factory = std::make_unique<MacUIFactory>();
    button = factory->CreateButton();
    textbox = factory->CreateTextBox();
    button->render();
    textbox->render();

    return 0;
}